package cn.agriculture.web.form;

import cn.agriculture.common.validator.constraints.NotEmpty;
import lombok.Data;

@Data
public class UserForm {
	@NotEmpty(field="用户ID",  message="{errors.required}")
	private String userId;
	@NotEmpty(field="用户姓名",  message="{errors.required}")
	private String userName;
	@NotEmpty(field="用户密码",  message="{errors.required}")
	private String password;
	private String passwordConfirm;
	@NotEmpty(field="身份证号",  message="{errors.required}")
	private String idCard;
	private String birthday;
	private String gender;
	private String companyName;
	private String address;
	private String email;
	@NotEmpty(field="联系电话",  message="{errors.required}")
	private String telephone;
	private String department;
	private String position;
	private String updateTime;
	private String updateUser;
	private String admin;
	private String priceIncrement;
	private String amount;
}
